#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@File    : heart_beat_manager.py
@Author  : Spring
@Time    : 2024/12/10 13:29
@Desc: 心跳相关业务类
"""
from watermark.heart_beat.heart_beat_service import HeartBeatService


class HeartBeatManager:
    """
    心跳管理相关类
    """

    @classmethod
    def start_heart_beat(cls):
        """
        开启心跳
        :return:
        """
        HeartBeatService.start_heart_beat()

    @classmethod
    def stop_heart_beat(cls):
        """
        停止心跳
        :return:
        """
        HeartBeatService.stop_heart_beat()
